package cn.tedu.huntingmall.mapper;

import cn.tedu.huntingmall.pojo.entity.stock.Stock;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface StockMapper {

    Stock selectByCommId(Long commodityId);

    int updatecount(@Param("count") Integer count, @Param("commodityId") Long commodityId);

}
